package cn.iocoder.yudao.module.member.dal.dataobject.healthy;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.util.List;

/**
 * 健康档案 DO
 *
 * @author dzy
 */
@TableName("tb_healthy")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AppHealthyDO extends BaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 技师id
     */
    private Long memberId;

    /**
     * 核酸状态
     */
    private Boolean nucleicAcid;
    /**
     * 新冠病毒接种状态
     */
    private Boolean novelCoronavirus;
    /**
     * 体温状态
     */
    private Boolean temperature;
    /**
     * 接触史
     */
    private Boolean contact;
    /**
     * 行程
     */
    private Boolean trip;

    /**
     * 身份认证
     */
    private Boolean identity;

    /**
     *  背景调查
     */
    private Boolean background;

    /**
     *  专业培训
     */
    private Boolean major;

    /**
     *  健康证
     */
    private Boolean healthy;


    /**
     *  技师姓名
     */
    @TableField(exist = false)
    private String memberName;

    /**
     *  头像
     */
    @TableField(exist = false)
    private String avatar;

    /**
     * 评论数
     */
    @TableField(exist = false)
    private Long commentTotal;

    /**
     * 已服务
     */
    @TableField(exist = false)
    private Long servicesTotal;

}
